<?php

/*
  | --------------------------------------------------------------------------------------------------
  | <nova_condicao_pagamento_view>
  |
  | Desenvolvedor:	Eduardo Sirangelo
  | E-mail:		sirangelos@ibest.com.br
  | Descrição:
  |	-
  | Quality is Everyting
  | --------------------------------------------------------------------------------------------------
 */
?>
<script src="<?=base_url()?>public/js/cadastros/nova_condicao_pagamento.js"></script>

<section class="grid_6">
    
    <div class="block-border">
        
        <?
        $attributes = array('class' => 'block-content form', 'id' => 'formCondicao');
        echo form_open('/cadastros/insert_condicao_pagamento/',$attributes);

        ?>
            
            <h1>Cadastro de Nova Condição de Pagamento</h1>

            <div class="columns">
                    
                    <div>

                            <div id="tab-global" class="tabs-content">

                                <div class="tabs-content">

                                        <div id="tab-locales">

                                            <div class="margin-bottom_10">

                                                <fieldset class="grey-bg">

                                                    <legend>Dados principais</legend>

                                                    <div class="colx2-left margin-bottom_10 required">
                                                            <span class="label">Descrição</span>
                                                            <span class="relative">
                                                                    <input type="text" name="descricao" id="descricao" value="" class="full-width"/>
                                                                    <span class="check-ok"></span>
                                                            </span>
                                                    </div>
                                                    <div class="colx2-right margin-bottom_10 required">
                                                            <span class="label">Dias de prazo</span>
                                                            <span class="relative">
                                                                    <input type="text" name="dias" id="dias" value="" class="full-width" setNumbers10="true"/>
                                                                    <span class="check-ok"></span>
                                                            </span>
                                                    </div>

                                                </fieldset>
                                                
                                            </div>

                                        </div>
                                    
                                </div>
                                
                            </div>

                    </div>

            </div>
            
            <fieldset class="grey-bg no-margin">
                    <legend>Salve seu trabalho</legend>
                    <p class="input-with-button">
                            <label for="simple-action">Ações no cadastro de condição de pagamento</label>
                            <select name="ativo" id="ativo">
                                    <option value="1">Salvar e ativar</option>
                                    <option value="0">Salvar apenas</option>
                            </select>
                            <button type="submit">Salvar</button>
                            <img src="<?=base_url()?>public/images/ajax-loading.gif" alt="" class="ajax-loading-new" id="ajax-loading"/>
                    </p>
            </fieldset>

        </form>
    
    </div>
    
    <div id="content_loading_form">
        <img src="<?=base_url()?>public/images/icons/web-app/48/Info.png" alt=""/>
        <p id="text_return"></p>
        <button type="button" class="float-right" id="close_message">Ok</button>
    </div>
    
</section>